package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljTroubleshooting;
import com.guofen.pojo.ShljWaterMeter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShljWaterMeterMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljWaterMeter record);

    int insertSelective(ShljWaterMeter record);

    ShljWaterMeter selectByPrimaryKey(Integer id);

    ShljWaterMeter getLast();

    int updateByPrimaryKeySelective(ShljWaterMeter record);

    int updateByPrimaryKey(ShljWaterMeter record);

    List<ShljWaterMeter> selectAll();

    List<ShljWaterMeter> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}